package com.example.demo.mapper;

import com.example.demo.model.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ling
 * Date: 2023-10-13
 * Time: 9:39
 */
@Mapper
public interface StudentMapper {
    //根据用户名查询该学生选的所有课程号，课程名以及分数
    public List<Student> selectCourseMsgByName(@Param("username") String username);

    public List<Student> selectStuByCourName(@Param("courName") String courName);

    public List<Student> selectStuAll();
}
